package com.ysh.mybatis.mapper;

import com.ysh.mybatis.pojo.TbUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 袁胜虎 on 2022/8/24 16:35
 */
public interface UserMapper {

    TbUser findById(Long userId);

    TbUser findById2(Long userId);

    TbUser findById3(Long userId);

    List<TbUser> findByUserNameAndPassword(@Param("password") String password, @Param("username") String userName);
}
